﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Data.SQLite;
using System.Reflection;
using System.IO;

namespace LibraryONTrack.dao
{
	class DatabaseDAO: BaseDAO
	{
		public String ConnectionStringName { get; set; }

		public string ConnectionString
		{
			get
			{
				return ConfigurationManager.ConnectionStrings[ConnectionStringName].ConnectionString;
			}
		}

		public DatabaseDAO()
			: this("SQLiteCS")
		{
		}

		public DatabaseDAO(string connectionStringName)
		{
			this.ConnectionStringName = connectionStringName;
		}


	}
}
